home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 83
/
MINAMI83.iso
/
Extra
/
winamp532.exe
/
$R0
/
Winamp Modern
/
scripts
/
standardframe.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2005-09-15
|
4KB
|
100 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group16;
Global Group Group17;
Global Group Group18;
Global String String19;
Global String String20;
Global String String21;
Global String String22;
Global String String23;
Global String String24;
Global String String25;
Global String String26;
Global Layer Layer27;
Global Button Button28;
Function func1037(String "0");
System.onScriptLoaded()
{
String String29;
Group16 = System.getScriptGroup();
String29 = System.getParam();
String19 = System.getToken(String29, ( "\,"), 0);
String20 = System.getToken(String29, ( "\,"), 1);
String21 = System.getToken(String29, ( "\,"), 2);
String22 = System.getToken(String29, ( "\,"), 3);
String23 = System.getToken(String29, ( "\,"), 4);
String24 = System.getToken(String29, ( "\,"), 5);
String25 = System.getToken(String29, ( "\,"), 6);
String26 = System.getToken(String29, ( "\,"), 7);
Button28 = Group16.findObject(( "sysmenu"));
return Null;
}
System.onSetXuiParam(String param, String value)
{
if(( param == ( "content"))) {
func1037(value);
Group18 = Group16.findObject(( "wasabi\.titlebar"));
Layer27 = Group18.findObject(( "mousetrap"));
}
if(( ( param == ( "padtitleright")) || ( param == ( "padtitleleft")))) {
if(( Group18 != Null)) {
Group18.setXmlParam(param, value);
}
}
if(( param == ( "shade"))) {
if(( Layer27 != Null)) {
Layer27.setXmlParam(( "dblclickaction"), ( ( "switch\;") + value));
} else {
System.messageBox(( "Cannot\ set\ shade\ parameter\ for\ StandardFrame\ object\,\ no\ mousetrap\ found"), ( "Skin\ Error"), 0, ( ""));
}
}
return Null;
}
Int Group16.onNotify(String command, String param, int a, int b)
{
String String53;
String String54;
String53 = System.getToken(command, ( "\,"), 0);
String54 = System.getToken(command, ( "\,"), 1);
if(( ( ( ( String53 == ( "content")) || ( String53 == ( "padtitleright"))) || ( String53 == ( "padtitleleft"))) || ( String53 == ( "shade")))) {
System.onSetXuiParam(String53, String54);
}
return Null;
}
func1037(String "0")
{
Group17 = System.newGroup(String55);
if(( Group17 == Null)) {
System.messageBox(( ( ( "group\ \"") + String55) + ( "\"\ not\ found")), ( "ButtonGroup"), 0, ( ""));
return Null;
}
Group17.setXmlParam(( "x"), String19);
Group17.setXmlParam(( "y"), String20);
Group17.setXmlParam(( "w"), String21);
Group17.setXmlParam(( "h"), String22);
Group17.setXmlParam(( "relatx"), String23);
Group17.setXmlParam(( "relaty"), String24);
Group17.setXmlParam(( "relatw"), String25);
Group17.setXmlParam(( "relath"), String26);
Group17.init(Group16);
return Null;
}
Button28.onLeftClick()
{
LayoutStatus LayoutStatus68;
LayoutStatus68 = Group16.findObject(( "sysmenu\.status"));
LayoutStatus68.callme(( "\{system\}"));
return Null;
}